﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using TIMA.DevTeam;

namespace TIMA
{
    public partial class FabricViewer : XPopupForm
    {
        public FabricViewer(int ProductId)
        {
            InitializeComponent();
            this.Text += " (" + ProductId + ")";
            Image img = FabricManager.GetBiggerImage(ProductId);
            pe.Image = img;
            this.StartPosition = FormStartPosition.CenterScreen;
            this.Size = new Size(450, 450);
        }
    }
}
